/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rcfi.lankaweb.linklk.service;

/**
 *
 * @author priyantha
 */
import java.util.List;
import com.rcfi.lankaweb.linklk.domain.*;
import com.rcfi.lankaweb.linklk.model.user;
import java.util.ArrayList;

public class countryCodeService implements IcountryCodeService {

    @Override
    public void add(user user) {
        //Persist the user object here.
        System.out.println("User added successfully");

    }

    @SuppressWarnings("unchecked")
    @Override
    public List<countrycode> getAllCodes() {
        List<countrycode> countryCodeList = new ArrayList<countrycode>();

        countryCodeList.add(new countrycode(1, "+94"));
        countryCodeList.add(new countrycode(3, "+213"));
        countryCodeList.add(new countrycode(4, "+376"));
        countryCodeList.add(new countrycode(5, "+244"));
        countryCodeList.add(new countrycode(6, "+1264"));
        countryCodeList.add(new countrycode(7, "+1268"));
        countryCodeList.add(new countrycode(8, "+599"));
        countryCodeList.add(new countrycode(9, "+54"));
        countryCodeList.add(new countrycode(10, "+374"));
        countryCodeList.add(new countrycode(11, "+297"));
        countryCodeList.add(new countrycode(12, "+247"));
        countryCodeList.add(new countrycode(13, "+61"));
        countryCodeList.add(new countrycode(14, "+43"));
        countryCodeList.add(new countrycode(15, "+994"));
        countryCodeList.add(new countrycode(16, "+1242"));
        countryCodeList.add(new countrycode(17, "+973"));
        countryCodeList.add(new countrycode(18, "+880"));
        countryCodeList.add(new countrycode(19, "+1246"));
        countryCodeList.add(new countrycode(20, "+375"));
        countryCodeList.add(new countrycode(21, "+32"));
        countryCodeList.add(new countrycode(22, "+501"));
        countryCodeList.add(new countrycode(23, "+229"));
        countryCodeList.add(new countrycode(24, "+1441"));
        countryCodeList.add(new countrycode(25, "+975"));
        countryCodeList.add(new countrycode(26, "+591"));
        countryCodeList.add(new countrycode(27, "+387"));
        countryCodeList.add(new countrycode(28, "+267"));
        countryCodeList.add(new countrycode(29, "+55"));
        countryCodeList.add(new countrycode(30, "+673"));
        countryCodeList.add(new countrycode(31, "+359"));
        countryCodeList.add(new countrycode(32, "+226"));
        countryCodeList.add(new countrycode(33, "+257"));
        countryCodeList.add(new countrycode(34, "+855"));
        countryCodeList.add(new countrycode(35, "+237"));  
        countryCodeList.add(new countrycode(37, "+238"));
        countryCodeList.add(new countrycode(38, "+1345"));
        countryCodeList.add(new countrycode(39, "+236"));
        countryCodeList.add(new countrycode(40, "+56"));
        countryCodeList.add(new countrycode(41, "+86"));
        countryCodeList.add(new countrycode(42, "+57"));
        countryCodeList.add(new countrycode(43, "+269"));
        countryCodeList.add(new countrycode(44, "+242"));
        countryCodeList.add(new countrycode(45, "+682"));
        countryCodeList.add(new countrycode(46, "+506"));
        countryCodeList.add(new countrycode(47, "+385"));
        countryCodeList.add(new countrycode(48, "+53"));
        countryCodeList.add(new countrycode(49, "+90392"));
        countryCodeList.add(new countrycode(50, "+357"));
        countryCodeList.add(new countrycode(51, "+42"));
        countryCodeList.add(new countrycode(52, "+45"));
        countryCodeList.add(new countrycode(53, "+2463"));
        countryCodeList.add(new countrycode(54, "+253"));
        countryCodeList.add(new countrycode(55, "+1809"));
        countryCodeList.add(new countrycode(56, "+593"));
        countryCodeList.add(new countrycode(57, "+20"));
        countryCodeList.add(new countrycode(58, "+353"));
        countryCodeList.add(new countrycode(59, "+503"));
        countryCodeList.add(new countrycode(60, "+240"));
        countryCodeList.add(new countrycode(61, "+291"));
        countryCodeList.add(new countrycode(62, "+372"));
        countryCodeList.add(new countrycode(63, "+251"));
        countryCodeList.add(new countrycode(64, "+500"));
        countryCodeList.add(new countrycode(65, "+298"));
        countryCodeList.add(new countrycode(66, "+679"));
        countryCodeList.add(new countrycode(67, "+358"));
        countryCodeList.add(new countrycode(68, "+33"));
        countryCodeList.add(new countrycode(69, "+594"));
        countryCodeList.add(new countrycode(70, "+689"));
        countryCodeList.add(new countrycode(71, "+241"));
        countryCodeList.add(new countrycode(72, "+7880"));
        countryCodeList.add(new countrycode(73, "+49"));
        countryCodeList.add(new countrycode(74, "+233"));
        countryCodeList.add(new countrycode(75, "+350"));
        countryCodeList.add(new countrycode(76, "+30"));
        countryCodeList.add(new countrycode(77, "+299"));
        countryCodeList.add(new countrycode(78, "+1473"));
        countryCodeList.add(new countrycode(79, "+590"));
        countryCodeList.add(new countrycode(80, "+671"));
        countryCodeList.add(new countrycode(81, "+502"));
        countryCodeList.add(new countrycode(82, "+224"));
        countryCodeList.add(new countrycode(83, "+245"));
        countryCodeList.add(new countrycode(84, "+592"));
        countryCodeList.add(new countrycode(85, "+509"));
        countryCodeList.add(new countrycode(86, "+504"));
        countryCodeList.add(new countrycode(87, "+852"));
        countryCodeList.add(new countrycode(88, "+36"));
        countryCodeList.add(new countrycode(89, "+354"));
        countryCodeList.add(new countrycode(90, "+91"));
        countryCodeList.add(new countrycode(91, "+62"));
        countryCodeList.add(new countrycode(92, "+98"));
        countryCodeList.add(new countrycode(93, "+964"));
        countryCodeList.add(new countrycode(94, "+972"));
        countryCodeList.add(new countrycode(95, "+39"));
        countryCodeList.add(new countrycode(96, "+225"));
        countryCodeList.add(new countrycode(97, "+1876"));
        countryCodeList.add(new countrycode(98, "+81"));
        countryCodeList.add(new countrycode(99, "+962"));
        countryCodeList.add(new countrycode(101, "+7"));
        countryCodeList.add(new countrycode(102, "+254"));
        countryCodeList.add(new countrycode(103, "+686"));
        countryCodeList.add(new countrycode(104, "+850"));
        countryCodeList.add(new countrycode(105, "+82"));
        countryCodeList.add(new countrycode(106, "+965"));
        countryCodeList.add(new countrycode(107, "+996"));
        countryCodeList.add(new countrycode(108, "+856"));
        countryCodeList.add(new countrycode(109, "+371"));
        countryCodeList.add(new countrycode(110, "+961"));
        countryCodeList.add(new countrycode(111, "+266"));
        countryCodeList.add(new countrycode(112, "+231"));
        countryCodeList.add(new countrycode(113, "+218"));
        countryCodeList.add(new countrycode(114, "+417"));
        countryCodeList.add(new countrycode(115, "+370"));
        countryCodeList.add(new countrycode(116, "+352"));
        countryCodeList.add(new countrycode(117, "+853"));
        countryCodeList.add(new countrycode(118, "+389"));
        countryCodeList.add(new countrycode(119, "+261"));
        countryCodeList.add(new countrycode(120, "+265"));
        countryCodeList.add(new countrycode(121, "+60"));
        countryCodeList.add(new countrycode(122, "+960"));
        countryCodeList.add(new countrycode(123, "+356"));
        countryCodeList.add(new countrycode(124, "+692"));
        countryCodeList.add(new countrycode(125, "+596"));
        countryCodeList.add(new countrycode(126, "+222"));
        countryCodeList.add(new countrycode(127, "+269"));
        countryCodeList.add(new countrycode(128, "+52"));
        countryCodeList.add(new countrycode(129, "+691"));
        countryCodeList.add(new countrycode(130, "+373"));
        countryCodeList.add(new countrycode(131, "+377"));
        countryCodeList.add(new countrycode(132, "+976"));
        countryCodeList.add(new countrycode(133, "+1664"));
        countryCodeList.add(new countrycode(134, "+212"));
        countryCodeList.add(new countrycode(135, "+258"));
        countryCodeList.add(new countrycode(136, "+95"));
        countryCodeList.add(new countrycode(137, "+264"));
        countryCodeList.add(new countrycode(138, "+674"));
        countryCodeList.add(new countrycode(139, "+977"));
        countryCodeList.add(new countrycode(140, "+31"));
        countryCodeList.add(new countrycode(141, "+687"));
        countryCodeList.add(new countrycode(142, "+64"));
        countryCodeList.add(new countrycode(143, "+505"));
        countryCodeList.add(new countrycode(144, "+227"));
        countryCodeList.add(new countrycode(145, "+234"));
        countryCodeList.add(new countrycode(146, "+683"));
        countryCodeList.add(new countrycode(147, "+672"));
        countryCodeList.add(new countrycode(148, "+670"));
        countryCodeList.add(new countrycode(149, "+47"));
        countryCodeList.add(new countrycode(150, "+968"));
        countryCodeList.add(new countrycode(151, "+507"));
        countryCodeList.add(new countrycode(152, "+675"));
        countryCodeList.add(new countrycode(153, "+595"));
        countryCodeList.add(new countrycode(154, "+51"));
        countryCodeList.add(new countrycode(156, "+63"));
        countryCodeList.add(new countrycode(157, "+48"));
        countryCodeList.add(new countrycode(158, "+351"));
        countryCodeList.add(new countrycode(159, "+1787"));
        countryCodeList.add(new countrycode(160, "+974"));
        countryCodeList.add(new countrycode(161, "+262"));
        countryCodeList.add(new countrycode(162, "+40"));
        countryCodeList.add(new countrycode(163, "+7"));
        countryCodeList.add(new countrycode(164, "+250"));
        countryCodeList.add(new countrycode(165, "+378"));
        countryCodeList.add(new countrycode(166, "+239"));
        countryCodeList.add(new countrycode(167, "+966"));
        countryCodeList.add(new countrycode(168, "+221"));
        countryCodeList.add(new countrycode(169, "+381"));
        countryCodeList.add(new countrycode(170, "+232"));
        countryCodeList.add(new countrycode(171, "+65"));
        countryCodeList.add(new countrycode(172, "+421"));
        countryCodeList.add(new countrycode(173, "+386"));
        countryCodeList.add(new countrycode(174, "+677"));
        countryCodeList.add(new countrycode(175, "+252"));
        countryCodeList.add(new countrycode(176, "+27"));
        countryCodeList.add(new countrycode(177, "+34"));
        countryCodeList.add(new countrycode(178, "+290"));
        countryCodeList.add(new countrycode(179, "+1869"));
        countryCodeList.add(new countrycode(180, "+1758"));
        countryCodeList.add(new countrycode(181, "+249"));
        countryCodeList.add(new countrycode(182, "+597"));
        countryCodeList.add(new countrycode(183, "+268"));
        countryCodeList.add(new countrycode(184, "+46"));
        countryCodeList.add(new countrycode(185, "+41"));
        countryCodeList.add(new countrycode(186, "+963"));
        countryCodeList.add(new countrycode(188, "+886"));
        countryCodeList.add(new countrycode(189, "+66"));
        countryCodeList.add(new countrycode(190, "+228"));
        countryCodeList.add(new countrycode(191, "+676"));
        countryCodeList.add(new countrycode(192, "+1868"));
        countryCodeList.add(new countrycode(193, "+216"));
        countryCodeList.add(new countrycode(194, "+90"));
        countryCodeList.add(new countrycode(195, "+993"));
        countryCodeList.add(new countrycode(196, "+1649"));
        countryCodeList.add(new countrycode(197, "++688"));
        countryCodeList.add(new countrycode(198, "+256"));
        countryCodeList.add(new countrycode(199, "+44"));
        countryCodeList.add(new countrycode(200, "+380"));
        countryCodeList.add(new countrycode(201, "+971"));
        countryCodeList.add(new countrycode(202, "+598"));
        countryCodeList.add(new countrycode(203, "+1"));
        countryCodeList.add(new countrycode(204, "+678"));
        countryCodeList.add(new countrycode(205, "+379"));
        countryCodeList.add(new countrycode(206, "+58"));
        countryCodeList.add(new countrycode(207, "+84"));
        countryCodeList.add(new countrycode(208, "+681"));
        countryCodeList.add(new countrycode(209, "+969"));
        countryCodeList.add(new countrycode(210, "+967"));
        countryCodeList.add(new countrycode(211, "+243"));
        countryCodeList.add(new countrycode(212, "+260"));
        countryCodeList.add(new countrycode(213, "+263"));


        return countryCodeList;

    }
}
